cos(x) derivative